/**
 * sysLogModel
 *
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:操作日志管理
 * 
 * 历史版本:2017-04-18 v1.0.0 lunli  创建:
 * 
 */
package com.fmjr.sys.sysLog.bean;

import com.fmjr.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value="sysLog", description="操作日志")
public class SysLog extends BaseEntity implements java.io.Serializable {

	private Long id ; //
	private Long typeKey ; //类型
	private String typeValue ; //类型名
	private String content ; //内容
	private String result ; //结果
	private Long operator ; //
 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
	private Date operationTime ; //时间
	private String failureCause ; //异常
	private String ip ; //
	private String params ; //

	

	public Long getId() {
		return this.id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	@ApiModelProperty(value = "类型")
	public Long getTypeKey() {
		return typeKey;
	}
	
	public void setTypeKey(Long typeKey) {
		this.typeKey = typeKey;
	}

	@ApiModelProperty(value = "类型名")
	public String getTypeValue() {
		return typeValue;
	}
	
	public void setTypeValue(String typeValue) {
		this.typeValue = typeValue;
	}

	@ApiModelProperty(value = "内容")
	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content;
	}

	@ApiModelProperty(value = "结果")
	public String getResult() {
		return result;
	}
	
	public void setResult(String result) {
		this.result = result;
	}

	@ApiModelProperty(value = "")
	public Long getOperator() {
		return operator;
	}
	
	public void setOperator(Long operator) {
		this.operator = operator;
	}

	@ApiModelProperty(value = "时间")
	public Date getOperationTime() {
		return operationTime;
	}
	
	public void setOperationTime(Date operationTime) {
		this.operationTime = operationTime;
	}

	@ApiModelProperty(value = "异常")
	public String getFailureCause() {
		return failureCause;
	}
	
	public void setFailureCause(String failureCause) {
		this.failureCause = failureCause;
	}

	@ApiModelProperty(value = "")
	public String getIp() {
		return ip;
	}
	
	public void setIp(String ip) {
		this.ip = ip;
	}

	@ApiModelProperty(value = "")
	public String getParams() {
		return params;
	}
	
	public void setParams(String params) {
		this.params = params;
	}
}